package jee.boot;

import jee.boot.common.basic.BaseConfig;
import jee.boot.common.standard.DocumentStorageClient;
import jee.boot.module.file.local.LocalFileStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 覆盖配置
 */
@Configuration
public class OverrideConfig {
    @Bean
    public DocumentStorageClient documentStorageClient(@Autowired BaseConfig baseConfig) {
        LocalFileStore documentStorageClient = new LocalFileStore(baseConfig);
        return documentStorageClient;
    }

}
